<extend name="Base/common" />
<block name="body">
<div class="page-container">
  <table class="table table-border table-bordered table-bg">
    <thead>
      <tr>
        <th>ID</th>
        <th>类型</th>
        <th>操作</th>
      </tr>
    </thead>
    <foreach name="type_list" item="item">
    <tr>
      <td>{$item.id}</td>
      <td>{$item.name}</td>
      <td>
        <a href="{:U('/admin/product/type_edit', array('id' => $item['id']))}">编辑</a>
      </td>
    </tr>
    </foreach>
  </table>
</div>
</block>
